-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aarch64: Fix for support of xonly #3812
base: master
Are you sure you want to change the base?
Conversation
OpenBSD 7.3+ requires xonly.
cc @mstorsjo |
FWIW, this patch breaks compilation for aarch64 for essentially every configuration concievable, as is. With Clang:
With binutils:
Switching to the Then finally, for MSVC build configurations, we normally use clang for building the assembly, but we used to use gas-preprocessor earlier. (Using gas-preprocessor allows using MSVC's armasm64 assembler tool, and avoids requiring two separate compilers.) In such configurations, it seems like gas-preprocessor doesn't handle cases like |
Odd, OpenBSD uses Clang and we've been building this for a long time now.
I see the macro you're referring to.
I didn't write any of this code, but I'll see what I can do and get back to you. |
Yeah, either this is OpenBSD specific in the Clang/LLVM assembler, or it's added in downstream patches.
Yep. Although this has evolved into a kinda odd and uncomfortable form - it probably can be simplified a bit, removing negations and moving the win32/apple cases above the ELF |
Oh, and I forgot - to get the address of the data in a different section, you probably also need to replicate something like the |
OpenBSD 7.3+ requires xonly.